#-*- codeing = utf-8 -*-
#@Time : 2020/7/12 20:29
#@Author : 阳某
#@File : guanjianzi.py
#@Software : PyCharm
import keyword
print(keyword.kwlist)
print("www","baidu","com",sep="")
print("www","baidu","com",sep=" ")
print("www","baidu","com",sep=".")
print("hello",end="")
print("world",end="\t")
print("python",end="\n")
print("end")
a = input("输入：")
print(type(a))

b = int(input("请输入："))
print("输入了一个数字：%d" %b)


import  random
x = random.randint(0,3)#0到3之间的数
print(x)
for i in range(0,10,3):#0开始，10结束。每次加3
    print(i)
for i in range(-10,-100,-30):
    print(i)
name = "chengdu"
for i in name:
    print(i,end="\t")
a =["aa","bb","cc","dd"]
for i in range(len(a)):
    print(i,a[i])


count = 0
while count<5:
    print(count,"小于5")
    count += 1
else:
    print(count,"大于或等于5")


i = 0
while i<10:
    i = i+1
    print("-"*30)
    if i == 5:
        break
    print(i)

i = 0
while i<10:
    i = i+1
    print("-"*30)
    if i == 5:
        continue
    print(i)


# python3所有源码默认utf-8，所有字符是unicode

